package dao;

import java.util.List;

import model.User;

public interface IUserDAO {
	public void addUser(final String username, final String password,
			final String address, final String birthday, final String sex,
			final String email, final int role);
	public User getOneUser(final int id);
	public List<User> getUserByRole(final String role);
	public User getOneUser(final String username);
	public void deleteUser(final int id);
	public void updateUser(final String username, final String password,
			final int role, final String birthday, final String address,
			final String sex, final String email,final int id);
	public List<User> getAllUsers() ;
	
}
